package com.vincent.cloudgateway;

import feign.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class ClientServiceHystric implements UserService {

    private static final String resultStr = "sorry, error";

    private static final Logger logger = LoggerFactory.getLogger(ClientServiceHystric.class);

    @Override
    public User getUser() {
        logger.info(resultStr);
        return null;
    }
}